﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Common;

namespace Print
{
    public partial class Print : PrintMasterBase
    {
        private PBLL.PMenu bllMenu = new PBLL.PMenu();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                MenuRpt.DataSource = bllMenu.GetList("MShow=true");
                BotRpt.DataSource = bllMenu.GetList("AShow=true and Id>1");
                Page.DataBind();
            }
        }
    }
}